const path = require('path');
const webpackConfig = {
    entry: {
        app: './src/app.ts'
    },
    output: {
        path: path.resolve(__dirname, './dist'),
        filename: '[name].bundle.js'
    },
    module: {
        rules: [
            {
                test: /\.ts$/,
                use: 'ts-loader'
            }
        ]
    }
};

module.exports = webpackConfig;